#define _CRT_SECURE_NO_WARNINGS 1
#include "list.h"
void test()
{
	sl* plist = newnode();
	push(&plist, 1);
	//print(plist);
	pushfront(&plist, 2);
	pushfront(&plist, 3);
	pushfront(&plist, 4);
	pushfront(&plist, 5);
	pushfront(&plist, 6);
	pushback(&plist, 1);
	pushback(&plist, 2);
	pushback(&plist, 3);
	pushback(&plist, 4);
	//popfront(&plist);
	//popfront(&plist);
	//popfront(&plist);
	//popfront(&plist);
	//popfront(&plist);
	//popfront(&plist);
	//popfront(&plist);
	//popfront(&plist);
	//popfront(&plist);
	//popfront(&plist);
	//popfront(&plist);
	//popback(&plist);
	//popback(&plist);
	/*popback(&plist);
	popback(&plist);
	popback(&plist);
	popback(&plist);
	popback(&plist);
	popback(&plist);
	popback(&plist);
	popback(&plist);*/
	//find(plist, 4);
	/*find(&plist, 6);
	find(&plist, 5);*/
	pop(&plist, 5);
	pop(&plist, 6);
	pop(&plist, 7);
	pop(&plist, 7);
	push_1(&plist, 9, 2);
	print(plist);
}
int main()
{
	test();
	return 0;
}